package com.fzfnn.scrapbook.service;

import com.fzfnn.scrapbook.util.R;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

@Service
public interface PicturesService {

     R avatar(MultipartFile file, String token, HttpServletRequest request) throws IOException;

     R scrappictures(List<MultipartFile> files, String token, HttpServletRequest request) throws IOException;
}
